#include<iostream>
#include<iomanip>
using namespace std;
double t;
int main()
{
	cin >> t;
	int temp = t * 10;
	temp %= 10;
	int a, b, c;
	int k = t;
	a = k % 10;
	b = k / 10 % 10;
	c = k / 100;
	cout << temp << "." << a << b << c << endl;
	return 0;
}